package com.haiyou.data.common.persister.mysql.meta;

import java.util.Set;

import com.google.common.collect.Sets;
import com.haiyou.data.common.persister.mysql.annotation.Database;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString(callSuper = true)
@Getter
@Setter
public class DatabaseMeta extends AbstractMeta {
	private String entityClassName;
	private String alias;// 配置的名称，如果是单库，也就是数据库别名
	private int cluster;
	private Set<String> reallyNames = Sets.newHashSet();// 使用分库策略时全部的库
	private Database.ConnectionPool connectionPool;

}
